<template>
  <div class="navigation">
    <el-menu
      background-color="#333333"
      text-color="#ffffff"
      default-active="1-4-1"
      class="el-menu-vertical-demo"
      :collapse="collapse"
      :unique-opened="true"
      router
    >
      <el-menu-item index="/admin/banner">
        <i class="el-icon-money"></i>
        <span slot="title">轮播图管理</span>
      </el-menu-item>
      <el-menu-item index="/admin/note">
        <i class="el-icon-notebook-2"></i>
        <span slot="title">文章管理</span>
      </el-menu-item>
      <!-- <el-submenu index="sys">
        <template slot="title">
          <i class="el-icon-set-up"></i>
          <span slot="title">系统管理</span>
        </template>
        <el-menu-item-group>
          <el-menu-item index="/admin/sys/user">用户管理</el-menu-item>
        </el-menu-item-group>
      </el-submenu> -->
    </el-menu>
  </div>
</template>

<script>
export default {
  name: "admin-navigation",
  data() {
    return {
      collapse: false,
    };
  },
};
</script>

<style lang="scss" scoped>
</style>